package com.huixue.cn.ztej.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.huixue.cn.ztej.bean.Menu;
import com.huixue.cn.ztej.utils.annotation.MyBatisRepository;

/**
 * Advertisement DAO
 * 
 * @author muzq
 */
@MyBatisRepository
@Repository("menuDAO")
public interface MenuDAO {

	public Menu getMenuById(String menuId);

	public List<Menu> getMenuBySystemId(String systemId);

	public List<Menu> getMenuByCondition(String systemId, String menuName);
	
	public List<Menu> getMenuByParent(Map map);
	
	public void saveMenu(Menu menu);

	public void updateMenu(Menu menu);
	
	public void updateInfo(Map map);

	public void changeOrder(Map map);

	public void deleteMenu(String menuId);

	public void deleteMenuByParent(String parent);
}